package com.atcc.test.service;

import java.util.List;

import com.atcc.test.pojo.BasicUser;

public interface UserService {
	
	/**
	 *  查询所有的用户
	 * @return
	 */
	List<BasicUser> queryAllBasicUser();
	
	/**
	 * 根据名字查询单个用户
	 */
	BasicUser queryBasicUserByName(String userName);
	
	/**
	 * 根据用户Id查询单个用户BasicUser
	 * @param userId
	 * @return
	 */
	BasicUser queryBasicUserByuserId(int userId);
	
	/**
	 * 存储一个新用户
	 * @param basicUser
	 */
	void saveBasicUser(BasicUser basicUser);
	
	

}
